package com.wzy.functionInterface;

import org.springframework.stereotype.Service;

/**
 * @Author: wzy
 * @Date: 2022/12/24/14:28
 * @Description:
 */
@Service
public class HandlerServiceTemplate {

    public void doHandler(ReportHandlerFunction reportHandler, Integer type) {
        reportHandler.handle();
        System.out.println(type);
    }
}
